﻿using AutoMapper;
using S_Userinfor.Domains;
using S_UserInfor.Api.Application.Commands;

namespace S_UserInfor.Api.Extensions
{
    public class UserProfile : Profile
    {
        public UserProfile()
        {
            CreateMap<UserSqlSuageCeateCommands, User>().ReverseMap();  //添加 automapper
            CreateMap<UserSqlSuageUpdCommands, User>().ReverseMap();    //修改 automapper
        }
    }
}
